import { Node, Shape } from '@antv/x6';

export const LocationNode = Node.define({
  width: 25,
  height: 25,
  markup: [
    {
      tagName: 'image',
      selector: 'body',
    },
  ],
  attrs: {
    body: {},
  },
});

export const ImageTest = new Shape.Image({
  id: 'image',
  width: 25,
  height: 25,
  x: 100,
  y: 100,
  attrs: {
    body: {
      stroke: '#000', // 边框颜色
      fill: 'red', // 填充颜色
    },
  },
});
